package com.example.cash.craft.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderFullInfoVO implements Serializable {

    @Schema(description = "订单ID")
    private Long id;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "使用积分数量")
    private Integer rewardPointsUsed;

    @Schema(description = "订单总金额")
    private BigDecimal totalAmount;

    @Schema(description = "实际支付金额")
    private BigDecimal actualPaymentAmount;

    @Schema(description = "订单状态，0=未支付，1=已支付，2=已完成，3=已取消")
    private Integer status;

    @Schema(description = "订单项（订单中的商品）列表")
    private List<OrderItemVO> orderItemList;

}